package com.xzy.urp.mapper;

import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.xzy.urp.pojo.entity.CourseSelection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzy.urp.pojo.vo.CourseSelectableVO;
import com.xzy.urp.pojo.vo.GradeVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xzy
 * @since 2022-02-17
 */
public interface CourseSelectionMapper extends BaseMapper<CourseSelection> {

  List<CourseSelectableVO> getSelectableList(Integer grade,Integer deptId,Integer semester,Long sId);

  List<CourseSelectableVO> getSelectedList(Integer semester,Long sId);

  List<GradeVO> listByCid(Integer cId);

}
